/*
 * 项目:	ofs.service  
 * 文件:	OfsResultCode.java  
 * 包名:	com.qjdchina.ofs.service.enums  
 * 日期:	2016年6月22日下午1:53:46  
 * 版权：Copyright (c) 2016, qjdchina.com All Rights Reserved.  
 *  
 */

package com.qjdchina.sku.service.enums;

import com.qjdchina.commons.enums.ResultCode;

/**
 * 
 * 类名:OfsResultCode 功能:OFS系统的返回消息码定义 日期: 2016年6月22日 下午1:57:34
 * 
 * @author wangzheng
 * @version 1.0.0
 * @since JDK 1.7
 * @see
 */
public class SkuResultCode {

	public static final String SYSTEM_CODE = "SKU";

	public static final String MODULE_CODE = "SKU";

	public static final ResultCode SUCCESS = new ResultCode("0", "成功", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode FAILED = new ResultCode("1", "失败", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SYS_EXCEPTION = new ResultCode("100000000", "系统异常", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode DATA_ERROR = new ResultCode("100000001", "数据格式有误", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode PARAMETER_NOT_EMPTY = new ResultCode("100000002", "参数为空", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode DATA_NOT_EXIST = new ResultCode("100000006", "该数据不存在", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode ADD_FAIL = new ResultCode("100000008", "新增失败", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode UPDATE_FAIL = new ResultCode("100000010", "修改失败", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode PARAMETER_VALIDATE_ERROR = new ResultCode("100000026", "参数校验失败", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode DB_EXCEPTION = new ResultCode("100000005", "数据库操作异常", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode DELETE_FAIL = new ResultCode("100000012", "删除失败", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode USER_NOT_LOGIN = new ResultCode("100000004", "长时间未操作，请您重新登录", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode NO_PERMISSION = new ResultCode("100000031", "无权限操作", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode CATEGORY_NOT_IDENTICAL = new ResultCode("100000032", "对比的产品品类不一致，不能对比", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode USER_CANT_FIND = new ResultCode("100000033", "用户名或密码错误", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SESSION_NOT_EXIST = new ResultCode("100000034", "用户未登录", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_PHONE_EXISTS = new ResultCode("100000035", "您的手机号已经注册", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode SKU_FNT_VERIFY_CODE_NOT_REPEAT_SEND = new ResultCode("100000036", "1分钟内不能重复发送验证码",
			SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_FNT_IMG_VERIFY_CODE_NOT_EMPTY = new ResultCode("100000037", "请输入图片验证码",
			SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_FNT_IMG_VERIFY_CODE_FAILURE = new ResultCode("100000038", "验证码已失效，请刷新验证码获取",
			SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_FNT_VERIFY_CODE_INPUT_ERROR = new ResultCode("100000039", "验证码输入不正确，请重新输入",
			SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_FNT_SEND_SMS_FAIL = new ResultCode("100000040", "短信验证码发送失败", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode SKU_FNT_VERIFY_CODE_PHONE_FAILURE = new ResultCode("100000041", "短信验证码不存在或已失效，请重新获取",
			SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode PHONE_NOT_EMPTY = new ResultCode("100000042", "请输入手机号码", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_FNT_VERIFY_CODE_NOT_EMPTY = new ResultCode("100000043", "请输入短信验证码", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode SKU_FNT_VERIFY_CODE_FAILURE = new ResultCode("100000044", "短信验证码失效", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode SKU_FNT_VERIFY_CODE_NOT_EXISTS = new ResultCode("100000045", "短信验证码错误", SYSTEM_CODE,
			MODULE_CODE);

	public static final ResultCode BRAND_NOT_EXISTS = new ResultCode("100000046", "品牌不能为空", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode BRAND_PRODUCT_RELATION = new ResultCode("100000047", "品牌部品关联,更新失败", SYSTEM_CODE,
			MODULE_CODE);
	public static final ResultCode BRAND_NAME_REPEAT = new ResultCode("100000048", "品牌名称重复", SYSTEM_CODE, MODULE_CODE);
	
	public static final ResultCode SKU_ITEM_ATTRIBUTE_EXIST = new ResultCode("100000049", "表头属性已经存在", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_ITEM_ATTRIBUTE_PRODUCT_RELATION = new ResultCode("100000050", "表头属性已经与部品关联，更新失败", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode SKU_ITEM_ATTRIBUTE_REPEAT = new ResultCode("100000051", "表头属性重复", SYSTEM_CODE, MODULE_CODE);
	
	public static final ResultCode SKU_ITEM_ATTRIBUTE_NOT_EXIST = new ResultCode("100000052", "表头属性不存在", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode PRODUCT_LIBRARY_EXIST = new ResultCode("100000053", "该产品库已经存在，请重新命名", SYSTEM_CODE, MODULE_CODE);

	public static final ResultCode PRODUCT_LIBRARY_NOT_EXIST = new ResultCode("100000054", "该产品库不存在", SYSTEM_CODE, MODULE_CODE);
}
